// This file is part of Indico.
// Copyright (C) 2002 - 2025 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

@use 'base' as *;

a,
.fake-link,
.ui-widget-content a {
  color: $blue;

  &:hover {
    color: $dark-orange;
    cursor: pointer;
  }

  &:link,
  &:visited {
    text-decoration: none;
  }
}

.i-link {
  @include semantic-link();
  @include transition(color);
  cursor: pointer;

  &.disabled {
    cursor: default !important;
  }
}

a.discreet-link {
  color: inherit;

  &:hover {
    text-decoration: underline;
  }
}

[data-anchor]:hover,
[data-permalink]:hover {
  .anchor-link {
    opacity: 1;
  }
}

.anchor-link {
  @include font-family-body();
  @include transition(opacity 0.25s ease-out);
  opacity: 0;
  margin-left: 0.5em;
  color: $gray !important;
}
